Topological modulation of the porous structure of a coordination polymer constructed from a flexible building block via framework–guest interaction during self-assembly