Model-based estimation of the link between the daily survival probability and a time-varying covariate, application to mosquitofish survival data