Quantification of reversible and irreversible lithium in practical lithium-metal batteries