BMW, Baidu end joint project on self-driving cars