Decomposing changes in phylogenetic and functional diversity over space and time