Quench hardening in metals