Which class of antiarrhythmic drug works by blocking sodium channels and is used to treat ventricular arrhythmias?