Porous sol gel silica films doped with crystalline NiO nanoparticles for gas sensing applications