Diodes for surge protection