Residual stress in diamond coatings by synchrotron radiation XRD