Anisotropy of cosmic rays due to galactic rotation