Functional and morphological impact of ER stress on mitochondria