Gd(III) metal-organic framework as an effective humidity sensor and its hydrogen adsorption properties.