Microstructural characterization of nanograin tin oxide gas sensors