Dynamics of passively mode-locked lasers with saturable absorber and saturable nonlinearity