Enhanced stability and CO2 affinity of a UiO-66 type metal-organic framework decorated with dimethyl groups.