Effects of particle size on determination of the contents of grain and legume dietary fibre and resistant starch