Stabilization and regulation of multirate sampled-data systems