The one-dimensional Hughes model for pedestrian flow: Riemann-type solutions