A general field-covariant formulation of quantum field theory