Variation of the magnetic moment and strain in epitaxial Cu/Ni/Cu sandwiches