Reliability of lithium batteries with crosslinked polymer electrolytes