Design and Synthesis of Novel Chemosensors for the Detection of Biologically and Environmentally Relevant Metal Ions