Theoretical analysis of the Hall effect in thin polycrystalline metallic films