Three-loop relation of quark $$\overline {MS} $$ and pole masses