Carbon Sphere Template Derived Hollow Nanostructure for Photocatalysis and Gas Sensing