Modulation of Trivalent/Tetravalent Metallic Elements in Ni-Based Layered Double Hydroxides for Photocatalytic CO2 Reduction.