Amazon Posts Fifth Straight Profit on Prime, Cloud Strength