Optimal control of jumping robot system based on complementarity modeling