Constructing graphite-like carbon nitride modified hierarchical yolk–shell TiO2 spheres for water pollution treatment and hydrogen production