Highly sensitive detection and removal of mercury ion using a multimodal nanosensor