Deep reinforcement learning-based joint task and energy offloading in UAV-aided 6G intelligent edge networks