Structural and magnetic properties of compositionally modulated Cu-Ni films