Anomalous hysteresis in perovskite solar cells