Bayern Munich cut Borussia Dortmund's lead at the top to six points and moved into second place after a 3-0 win at Eintracht Frankfurt.