Self-assembly of CPO-27-Mg/TiO2 nanocomposite with enhanced performance for photocatalytic CO2 reduction