Activation of endoplasmic reticulum stress mediates oxidative stress-induced apoptosis of granulosa cells in ovaries affected by endometrioma.