Total’s profits climb as production hits record level