27Al and 89Y nuclear magnetic resonance in yttrium-aluminum garnet