Thermoelasticity of multilayered plates with imperfect interfaces