On the correspondence between poroelasticity and thermoelasticity