Effects of isomorphous substitution of a coordination polymer on the properties and its application in electrochemical sensing