Graphene-based thermal modulator