Trench IGBT failure mechanisms evolution with temperature and gate resistance under various short-circuit conditions