Cohen-Macaulay local rings of maximal embedding dimension