An exactly solvable model of the BCS-BEC crossover