factors affecting the solubility of ionic solids