Perceived risk as a determinant of driver behavior