Scaling laws of nanoporous metals under uniaxial compression