Evaluating prediction performance of longitudinal biomarkers under cohort and two-phase study designs