Polarity of substances in solutions