BMW plans to take control of China joint venture