South Africa's Ryan Rickelton and Tristan Stubbs both scored fifties in a 139-run victory over Ireland in their first ODI in Abu Dhabi.