Optimal vehicle control under friction uncertainty - from driver assistance to drift transitions