Solitons in one-dimensional systems at the BCS-BEC crossover