Enhanced gas barrier properties of polymer substrates for flexible OLEDs by adjusting the backbone rigidity and incorporating 2D nanosheets