PRODUCTION AND PROPAGATION OF COSMIC-RAY POSITRONS AND ELECTRONS