Assembling self-adaptive covalent organic frameworks by rigid-flexible blocks to enhance potassium storage