Refractive-index-induced aberrations in two-photon confocal fluorescence microscopy