A novel probe for selective colorimetric sensing of Fe(II) and Fe(III) and specific fluorometric sensing of Fe(III): DFT calculation and logic gate application