Toward an Ab Initio Theory of the Solar Modulation of Cosmic Rays