Apple alleges Amazon sold counterfeit products in lawsuit