Evaluating and Improving Safety of Object Detectors in Autonomous Driving