BMW will add i4 electric car as Tesla Model S rival