Three N-H functionalized metal-organic frameworks with selective CO2 uptake, dye capture, and catalysis.