Forbush decrease in the intensity of cosmic rays in a toroidal model of a magnetic cloud