Optical polarizers based on graphene oxide integrated with waveguides and ring resonators