31P NMR Studies of the Magnetically Ordered Heavy-Electron Compound YbP