Lithium metal batteries capable of stable operation at elevated temperature