Cosmology without singularity and nonlinear gravitational Lagrangians