A model of optimal life history and diel vertical migration in Calanus finmarchicus