Model for exchange bias in polycrystalline ferromagnet-antiferromagnet bilayers