Controlled incorporation of nanoparticles in metal-organic framework hybrid thin films.