Amazon.com posted a 14% revenue increase in its second quarter but profits dropped on a legal settlement and weakness in high-margin goods such as video games.