Nanostructured hybrid organic-inorganic lanthanide complex films produced in situ via a sol-gel approach