Two experimental methods to determining stress–strain behavior of work-hardened surface layers of metallic components