A Material Based Model for Topology Optimization of Thermoelastic Structures