Constraints on egg discrimination and cuckoo-host co