SOPHIE velocimetry of Kepler transit candidates. XVIII. Radial velocity confirmation, absolute masses and radii, and origin of the Kepler-419 multiplanetary system