Spatial confinement of a Co3O4 catalyst in hollow metal-organic frameworks as a nanoreactor for improved degradation of organic pollutants.