Design and optimization of a spectrometer for high-resolution SD-OCT