Formaldehyde sensing mechanism of SnO2 nanowires grown on-chip by sputtering techniques