Application of Sensors in the Detection of Heavy Metals Ions in the Environment