Lewandowski hat-trick tops Haaland double as Bayern beat Dortmund