Central role of the scaffold protein tumor necrosis factor receptor-associated factor 2 in regulating endoplasmic reticulum stress-induced apoptosis