Electric-field gradients in thin face-centered-tetragonal Co films observed by nuclear magnetic resonance