Structure, mechanical stability, and chemical bond in alkali metal oxides