Rational construction of a porous lanthanide coordination polymer featuring reversible guest-dependent magnetic relaxation behavior