A micromachined gas sensor based on a catalytic thick film/SnO2 thin film bilayer and a thin film heater