Diamond microelectronic gas sensors