Hydrothermal synthesis of two-dimensional cadmium(II) micro-porous coordination material based on Bi-functional building block and its application in highly sensitive detection of Fe3+ and Cr2O72.