Samsung extends lead over Apple in smartphone market