Magnetic properties of the heavy fermion antiferromagnets YbNiAl and YbPtAl