On the spectrum of bounded immersions