Magnetic field dependence of exciton linewidth in quantum wells made of semimagnetic semiconductors: comparison of theory and experiment