Thermally induced residual stresses in carbon fibre-reinforced aluminium-matrix composites