Design and fabrication of novel coordination polymers containing Co(II), Ni(II), and Cu(II) for electrochemical detection of both ascorbic acid and Cr(VI)