Ferrocenyl-based thioethers and sulphones as optical,and electrochemical sensors for the differential detection of Hg 2+ and Cu 2+ions