Joint Uplink-and-Downlink Optimization of 3-D UAV Swarm Deployment for Wireless-Powered IoT Networks