Effects of temperature and thermo-mechanical couplings on material instabilities and strain localization of inelastic materials