Design of optimal-control systems with prescribed closed-loop poles