Text this: Structural diversity, magnetic property, or luminescence sensing of Co(ii) and Cd(ii) coordination polymers derived from designed 3,3′-((5-carboxy-1,3-phenylene)bis(oxy))dibenzoic acid.