A spectrochemical study of ionic concentrations in ground water and rainwater in different environments