Electrical and gas-sensitive properties of a resistive thin-film sensor based on tin dioxide