Application of genomics in assessing biodiversity in wild and cultivated barley