Determination of the elastic constants of cereal grains in a uniaxial compression test