Structural plasticity of calmodulin on the surface of CaF2 nanoparticles preserves its biological function.