EU states agree on Brexit guidelines: EC head Tusk