Global solutions of nonlinear wave–Klein–Gordon system in one space dimension