Theory and computation of electromagnetic transition matrix elements in the continuous spectrum of atoms