Two-dimensional numerical simulation of semiconductor gas sensors