Even degraded forests are more ecologically valuable than none, study shows