Energy-Efficient UAV-Aided Ocean Monitoring Networks: Joint Resource Allocation and Trajectory Design