2D Thermoelastic solutions for laminates and sandwiches with interlayer delaminations and imperfect thermal contact