Reference trajectory generation for control in single-unit heavy vehicle: focus on rollover prevention