Influence of microstructures on the functional properties of tin oxide-based gas sensors