Electrochemical stress gauge device to measure the residual stresses caused by quenching heat treatment