Bifunctional KZnF3:Er3+/Mn2+ perovskite nanoparticles for achieving pure red upconversion luminescence and magnetic resonance imaging