Study on gas sensing properties and mechanism of Ag-doped SnO2 gas sensor to H2