Effects of Porosity and Amount of Surface Hydroxyl Groups of a Porous TiO2 Layer on the Performance of a CH3NH3PbI3 Perovskite Photovoltaic Cell