Effect of amyloid precursor protein and tau on dendritic spines and cell survival in an ex vivo model of Alzheimer's disease