Multiobjective Optimization for Improving Throughput and Energy Efficiency in UAV-Enabled IoT