Growth slows, profits decline at Apple