Muonium as a hydrogen analogue in silicon and germanium: Quantum effects and hyperfine parameters