Determination of three-dimensional grain size distribution by linear intercept measurement