Joint longitudinal and survival models for intensive longitudinal data from mobile health studies