Spectroelectrochemical sensing based on multimode selectivity simultaneously achievable in a single device. 20. Detection of metal ions in different oxidation states.