Synthesis and characterization of nanostructured zinc oxide layers for sensor applications