A SERS-based capillary sensor for the detection of mercury ions in environmental water.