Autocrine motility factor/phosphoglucose isomerase regulates ER stress and cell death through control of ER calcium release