Design and Simulation of Time-energy Optimal Anti-swing Trajectory Planner for Autonomous Tower Cranes