Microwave-assisted synthesis of a viologen-based covalent organic polymer with redox-tunable polarity for dye adsorption