The effective valencies of transition metals in solid solution in gold and silver alloys