Behavior of Methylammonium Dipoles in MAPbX3 (X = Br and I)