The Relationship between Residual Stress and Hardness and the Onset of Plastic Deformation.