Design, synthesis and application of new chemosensors towards environmentally and biologically relevant ions and molecules:a spectroscopic and theoretical investigation