Polaron variational methods in the particle representation of field theory. I. General formalism.