Synthesis and characterization of CH3NH3PbI3 and CH3NH3PbI(3-x)Clx perovskite solar cell materials