Sequential recognition of zinc ion and hydrogen sulfide by a new quinoline derivative with logic gate behavior