Real−time mechanical and thermal monitoring of lithium batteries with PVDF-TrFE thin films integrated within the battery