iPad sales help bail out Apple amid a continued iPhone slide