IBM earnings beat estimates on cloud strength; shares up 6%