Concerted expansion and contraction of immune receptor gene repertoires in plant genomes