Generation of pure, high-density metal-vapor plasma by capillary discharge