The temporal dimension of species interactions at multiple scales