In the driver's mind: cognitive modeling of human overtaking behavior when interacting with oncoming automated vehicles