Three-dimensional pillar-layered copper(II) metal-organic framework with immobilized functional OH groups on pore surfaces for highly selective CO2/CH4 and C2H2/CH4 gas sorption at room temperature.