Development of an optimized methodology for tensile testing of carbon steels in hydrogen environment