Proton-14N double resonance study of the structural phase transitions in the perovskite type layer compound (CH3NH3)2CdCl4