Time-ordered operators and Feynman-Dyson algebras