Predicting pedestrians’ intention to cross the road in front of automated vehicles in risky situations