Uncertainty-aware Risk Assessment of Robotic Systems via Importance Sampling