Effects of historical legacies on soil nematode communities are mediated by contemporary environmental conditions