Solitary waves of the nonlinear Klein-Gordon equation coupled with the Maxwell equations