Assessing rice and wheat germplasm collections using similarity groups