The assembly of forest communities according to maximum species height along resource and disturbance gradients