Root morphological responses to population density vary with soil conditions and growth stages