Effects of grain size and heterogeneity on the mechanical behavior of foil rolling