Extrinsic ion migration in perovskite solar cells