Selection and gene flow shape genomic islands that control floral guides