Fabrication, Characterization, and Application of Carbon Nanoparticles for the Detection of Heavy Metal Ions in Aqueous Media