Cosmic ray drift, shock wave acceleration, and the anomalous component of cosmic rays