One-dimensional CuO–SnO2 p–n heterojunctions for enhanced detection of H2S