EU says will work with Taliban only if rights are respected