The ambivalence of Yb in YbAl2 and YbAl3