A model of physiological and allometric factors in the self-thinning curve