Integrability of a family of quantum field theories related to sigma models