Regulation of mitochondrial apoptosis by Pin1 in cancer and neurodegeneration