Amazon reported higher profits but shares fell on a disappointing revenue figure in the second quarter of 2021