Dynamically feasible data-driven trajectory generation for high performance control of robot manipulators