Samsung warns of slowing growth in key markets