Equilibrium studies of the uranium dioxide - carbon and neodymium sesquioxide - carbon systems