Effects of inhomogeneities of surface-oxide charges on the electron energy levels in a semiconductor surface-inversion layer