Bethe-lattice approach for electronegativity calculation in amorphous alloys and its correlation with the chemical shift: alpha-SiOx and alpha-SiNx cases