Chemisorptive detection by electrical and nonlinear optical absorption properties of a nanostructured ruthenium-doped zinc oxide film