Structural study of boundary layers in a rubber-epoxy resin-ammonium chloride system