Tuning chain topologies and magnetic anisotropy in one-dimensional cobalt(II) coordination polymers via distinct dicarboxylates