A coordination and ligand replacement based three-input colorimetric logic gate sensing platform for melamine, mercury ions, and cysteine