Apple paid up to $6 billion to settle with Qualcomm, UBS estimates