Density of valence states of As2O3 and Sb2O3