Valence band studies of Ag and Pd codeposited on Ru(0001)