Image analysis techniques used to determine the grain size distribution of a sand-gravel bed surface and substrate