Quantum beats in the polarization of the spin-dependent photon echo from donor-bound excitons in CdTe/(Cd,Mg)Te quantum wells