Structure and electronic properties of the surface of alkali metal peroxides