Mos and schottky diode gas sensors using transition metal electrodes