Spin dephasing of electrons and holes in isotopically purified ZnSe/(Zn,Mg)Se quantum wells