Fine-tuning the functionality of reduced graphene oxide via bipolar electrochemistry in freestanding 2D reaction layers