Effects of particle drift on cosmic-ray transport. I. General properties, application to solar modulation