Water-soluble benzoselenadiazole-based conjugated polymer fluorescent sensor with high selectivity for ferric ions and mercury ions and possible applications as integrated molecular logic gates