A self-powered photodetector based on a CH3NH3PbI3 single crystal with asymmetric electrodes