A complete analytical solution of the Fokker–Planck and balance equations for nucleation and growth of crystals