Joint Estimation of Conditional Mean and Covariance for Unbalanced Panels