Quasiperiodicity in cataclysmic variable stars caused by solar-type magnetic cycles