BMW is to raise prices in China on the back of higher import tariffs levied on vehicles shipped there from the US.