BP reports third-quarter earnings, production increase