Stress gradients and grain interaction determination in electrodeposited coatings by synchrotron radiation