The Cooling of White Dwarfs and Their Internal Composition