Electronic structure and vibrational analysis of the alkali peroxides K2O2 and Rb2O2