Linkage of modules over Cohen-Macaulay rings