Nucleation kinetics of vapour-liquid and solution-crystal systems and growth and characterization of KTiOPO4