Degeneration of Calabi-Yau metrics