A frictional–kinetic model for the flow of granular materials through a wedge-shaped hopper