Demographic traits improve predictions of spatiotemporal changes in community resilience to drought