First-principles investigation of the electronic, mechanical, and thermodynamic properties of europium carbide