A new method of solving optimal servo problems reducible to regulator problems