The influence of texture on the strain measured by diffraction