Electronic structure and hyperfine interaction of muonium in semi-conductors