High-spatial-resolution nuclear-magnetic-resonance method for investigation of fluid distribution in whole cores