Exploiting the Lability of Metal Halide Perovskites for Doping Semiconductor Nanocomposites