Synthesis of Ag and Cd nanoparticles by nanosecond-pulsed discharge in liquid nitrogen