Flexible tree taper curves based on semiparametric mixed models.