Magnetic properties of Co-Ni alloy nanoparticles prepared by the sol-gel technique