Let \(ABC\) and \(DEF\) be such triangles that angles \(\angle ABC = \angle DEF\), \(\angle ACB = \angle DFE\). Prove that the triangles \(ABC\) and \(DEF\) are similar.