Gravity-assist trajectories to Venus, Mars, and the ice giants: Mission design with human and robotic applications