High-field nuclear spin relaxation in liquids and solids