Samsung tops the smartphone market in the first quarter of 2018