Nanotextured thin films for detection of chemicals by surface enhanced Raman scattering