Ultrafast optical and electronic characterization of (Cd,Mg)Te single crystals