Enbridge posts higher third-quarter profit as oil and gas shipments rise