Gravar-mail: Joint modeling of longitudinal and survival data with the Cox model and two-phase sampling