Thermo-mechanics of undamaged and damaged multilayered composite plates: a sub-laminates finite element approach