Enhanced optical and electrical gas sensing response of sol–gel based NiO–Au and ZnO–Au nanostructured thin films