Morphological and physiological plasticity of plant roots when nutrients are both spatially and temporally heterogeneous