A new Schiff-based chemosensor for chromogenic sensing of Cu2+, Co2+ and S2− in aqueous solution: experimental and theoretical studies