Solitons for the nonlinear Klein-Gordon equation