Primitive element theorem for fields with commuting derivations and automorphisms