Image registration in ophthalmic spectral-domain optical coherence tomography