Apple ends yearlong sales slump with slight revenue rise in holiday-season period but stock slips