Unipolar charging of ultrafine aerosol particles by ions and electrons