Length measurement of the eye using a swept-source interferometer