Xiaomi has overtaken Samsung in Europe to become the number one smartphone manufacturer for the first time.