Samsung surpassed Apple to reclaim top position in the global smartphone market