Monolithically fabricated flexible graphene-based active implant