Glucose-6-phosphate dehydrogenase plays a crucial role in protection from redox-stress-induced apoptosis