BMW has posted first quarter profit after tax of EUR324m (US$420m) after a loss of EUR152m in the same period last year.