Effect of graphitization parameters on the residual stress in 4D carbon fiber/carbon composites