Wafer-scale production of graphene-based photonic devices