Dynamical Algebras in the 1+1 Dirac Oscillator and the Jaynes–Cummings Model