Inversion and torsional motions of methylhydrazine studied by microwave and far-infrared spectroscopy and ab initio calculation