Effect of grain size and distribution on the shielding effectiveness of transparent conducting thin films