Apple has reported its first quarterly drop in profits in a decade, but said it will raise dividends for shareholders.…