The barrier effect in three-layer solid dielectrics in quasi-uniform electric field