Understanding capacity drop for designing pedestrian environments