Polymers in all-solid-state batteries