Cd(II) coordination polymers constructed with a flexible carboxylate linker and pyridyl co-linkers: variation in the network topologies and photoluminescence properties