Rotation of the atmospheres of the Earth and planets