Synthesis of optimal block controllers for multivariable control systems and its inverse optimal-control problem