Scale dependence in the relationship between species richness and productivity: the role of spatial and temporal turnover