Preparation of Sm-loaded brookite nanoparticles and thin films