Crystal structures of the three phases of (NH3C3H6NH3)MnCl4 and a proton nuclear magnetic resonance investigation of its phase transitions