Hamiltonian systems connected with the rotation group