Relatively optimal control with characteristic polynomial assignment and output feedback