Architecture of optical sensor for recognition of multiple toxic metal ions from water.