The KO-valued spectral flow for skew-adjoint Fredholm operators