The measurement of the glass transition temperature of mesophase pitches using a thermomechanical device