Photo-excitation and decay processes at the 5p edges of divalent eu and yb metals