Qualcomm, Nokia end long-standing patent disputes