On board sensor-based collision risk assessment to improve pedestrians’ safety