Molecular recognition at the solid-solution interface: a relay mechanism for the effect of solvent on crystal growth and dissolution