Antiferromagnetic ordering in the ternary stannides CeNi4Sn2 and NdNi4Sn2