The non-gravitational effects on the dynamical evolution and on the rotational properties of the asteroids