Printing nanoparticles from the liquid and gas phases using nanoxerography