Tailoring the surface properties and carrier dynamics in SnO2 nanowires