Mean exit time for surface-mediated diffusion: spectral analysis and asymptotic behavior