155,157Gd NMR study of Gd–Ni intermetallic compounds