Text this: Electrochemical rectifying device based on polymer thin films