Optimal UAV Path Planning for Tracking a Moving Ground Vehicle with a Gimbaled Camera