sufficient statistic for beta distribution