Bipolar Charging of Aerosol Nanoparticles by a Soft X-ray Photoionizer