Safe and Robust Planning for Uncertain Robots: A Closed-Loop State Sensitivity Approach