Thomson Corporation and Reuters agree to merge