Brentford have confirmed the club-record £23million signing of Republic of Ireland international Nathan Collins on a six-year deal.