Ordinary differential operators in Hilbert spaces and Fredholm pairs