Three dimensional exact solution of thermal stresses in rectangular composite laminate