BEHAVIOUR OF CARBON AND BERYLLIUM UNDER THERMOMECHANICAL LOADS