The barrier effect in dielectrics: the role of interfaces in the breakdown of inhomogeneous dielectrics