Mixed formulation of physics-informed neural networks for thermo-mechanically coupled systems and heterogeneous domains