Liverpool seal deal for Brouwer