Study of the structural phase transitions of (CH3NH3)3Sb2Cl9 (MACA) and (CH3NH3)3Bi2Cl9 (MACB) by infrared spectroscopy