IBM delivers Q2 revenue growth, IBM Z leads hardware gains