Qualcomm sues Apple, alleging it shared chip code with Intel