One-Dimensional Nanowire-Based Heterostructures for Gas Sensors