Controllable synthesis of porous silver cyanamide nanocrystals with tunable morphologies for selective photocatalytic CO2 reduction into CH4.