Cubic on the streets, tetragonal in the sheets: The nature of local dynamic order in CH3NH3PbI3 and CH3NH3PbBr3