Incorporation of potassium halides in the mechanosynthesis of inorganic perovskites: feasibility and limitations of ion-replacement and trap passivation