Estimation of genetic and phenotypic co-variance functions for longitudinal data.