Formation and stability of actinide oxides: a valence band photoemission study