BMW moves engine production to Britain as German plants go electric