Bayern Munich warmed up for next week's Champions League showdown with Barcelona by thumping Hannover 6-1 in the Bundesliga.