An Euler-type method for the strong approximation of the Cox–Ingersoll–Ross process