Analytical solution of classical and non-classical boundary value contact problems of thermoelasticity for a rectangular parallelepiped consisting of compressible and incompressible elastic layers and numerical example of the solution of such problems