How does the strength of electrostatic forces between molecules affect the solubility of a substance?