BMW to take majority control in China joint venture