Open-loop minimum-time control of mechanical manipulators and its application