Energy dependence of electron escape depth in barium