Effect of pyridyl donor disposition and ligand flexibility on dimensionality in luminescent and nitrobenzene-detecting cadmium adamantanedicarboxylate coordination polymers