Electronic and optical properties under pressure effect of alkali metal oxides