The preparation and thermodynamics of europium dicarbide