Green full polymer flexible transparent electrodes showing versatile switching behaviors based on either counterion transport or nanoarea crystallization