The more polluted the environment, the more important biodiversity is for food web stability