Amazon reports sales and profit shortfall in 3Q