Final state problem for the cubic nonlinear Klein-Gordon equation