Text this: Joint optimization of task offloading and energy trading in edge-enabled smart grids using deep reinforcement learning.