Text this: A Method of Inverting Rock Grain Size Based on Nuclear Magnetic Resonance Logging Data and Application