Non-Destructive Testing of Stressed Materials Using X-ray Diffraction and Second-Harmonic Generation