Studies on a resistive gas sensor based on sol–gel grown nanocrystalline p-TiO2 thin film for fast hydrogen detection