171Yb nuclear magnetic resonance in YbAl2 and YbAl3