Homogeneous nucleation: classical formulas as asymptotic limits of the Cahn-Hilliard approach