The determinants of grain texture in cereals