Femtosecond optical characterization and applications in Cd(Mn)Te diluted magnetic semiconductors