Existence results for Hughes' model for pedestrian flows