Varistors and capacitors