Dependability Analysis of CAN Networks: an emulation-based approach