A parameterization of cloud droplet nucleation. Part II: Multiple aerosol types