Analytical modelling of thermal stresses in anisotropic composites