Photovoltaic performance and the energy landscape of CH3NH3PbI3.