Self-consistent-field investigation of location and hyperfine interaction of muonium in diamond