Effect of bed roughness on grain-size distribution in an open channel flow