Deformation of whisker-reinforced metal-matrix composites under changing temperature conditions