Transition from the Tetragonal to Cubic Phase of Organohalide Perovskite: The Role of Chlorine in Crystal Formation of CH3NH3PbI3 on TiO2 Substrates