Identification of battery products and intermediates through NMR spectroscopy