BMW third-quarter profit rebounds on China demand for luxury cars