Sample size calculations for bivariate longitudinal data