Thermo-elastic damping in oscillating structures