Radiative electron capture cross section for 26-MeV/u Ar18+ ions on a carbon target