US: CBS, Viacom agree to merge