Thermoelastic state of an isotropic medium containing an anisotropic ellipsoidal inclusion, for ideal mechanical and thermal contact