Coordination polymers of CdII and PbII with croconate show remarkable differences in coordination patterns: a structural and spectroscopic study.