Double-layer granular SnO2 sensors