Cosmic ray long-term variation: even-odd cycle effect, role of drifts, and the onset of cycle 23