Samsung outdoes Apple in smartphone sales