Determination of the residual stress tensor in Cu/W multilayers by x-ray diffraction