Investigating the visual tasks of pedestrians and how one of these tasks, obstacle detection, is influenced by lighting