Latency-Aware and Energy-Efficient Task Offloading in IoT and Cloud Systems with DQN Learning | Synapse