Analytical Applications of a Nanoparticle-Based Sensor for the Determination of Mercury