Methods for the preparation of nitrates in general