Cloud, mobile, HANA help SAP boost Q2 revenue