Observations of the preferential loss of major ions from melting snow and laboratory ice