Apple ends litigation against Amazon.com over its use of 'Appstore'