Fast response ammonia sensors based on TiO2 and NiO nanostructured bilayer thin films