Rotational dynamics of a solar system body under solar radiation torques