Photocurrent Spectroscopy of Perovskite Layers and Solar Cells: A Sensitive Probe of Material Degradation.