Solid state reaction of zirconia with carbon