Electrochemical Doping of Halide Perovskites with Ion Intercalation.