Text this: Graphene–ferroelectric metadevices for nonvolatile memory and reconfigurable logic-gate operations