Growth, alloy formation and reaction with oxygen of Ag and Au submonolayers on W(110) studied by valence band and core level photoemission