Solutions of time-dependent Emden-Fowler type equations by homotopy-perturbation method