Theory of bound states associated with n-type inversion layers on silicon