Functionalized thin films : synthesis, characterization, and potential use