Why urbanization may benefit the environment