Sadio Mane has completed his move to Bayern Munich, ending a six-year spell with Liverpool where he won a Premier League and Champions League title.