Absorption and vibrational spectra of methylamine and its ions using quantum chemical methods