Chain structure-dependent electrochemical performance of polyimide cathode materials for lithium-ion batteries