First-principles study of monolayer Be2C as an anode material for lithium-ion batteries