Method and device for the detection and localization of sensor errors in motor vehicles