Amazon earnings jump on cloud computing strength but margins narrow