Diffusive propagation of cosmic rays from supernova remnants in the Galaxy. II: anisotropy