BMW has exceeded analyst forecasts with a 13.6% year-on-year increase to second quarter earnings, helped by strong sales of its latest 5 Series model.