Semiconducting Metal Oxides for Photocatalytic and Gas Sensing Applications