Heterogeneous primary nucleation of ice in water and aqueous solutions