Acid–base behavior of oxides and their electronic structure