Nuclear magnetic resonance of 31P in InP