On the recognition of chloride, bromide and nitrate anions by anthracene–squaramide conjugated compounds: a computational perspective