UK and EU unveil new Brexit agreement