Schottky-barrier and conductivity gas sensors based upon Pd/SnO2 and Pt/TiO2