NBC: Charter and Cox agree to merge in major cable deal