Magnetic beads based colorimetric detection of mercuric ion