BMW introduces an electric 5 Series sedan with almost 300 miles of range