Crystal-field-induced magnetic frustration in NdMIn 5 and Nd 2 MIn 8 (M=Rh, Ir) antiferromagnets