Perpendicular and in-plane magnetic anisotropy in epitaxial Cu/Ni/Cu/Si(111) ultrathin films