Lattice dynamics and spin excitations in the metal-organic framework [CH3NH3]<