Simulation of electrical treeing in multilayer dielectrics