Robert Lewandowski scored twice as Bayern Munich beat Borussia Dortmund 3-1 to clinch the German Super Cup.