Design of multirate control systems via parameter optimization