Apsidal motion of two eclipsing binaries: V796 Cyg and V2783 Ori