Algebraic model of hindered rotations: applications to H2O2