A Mg2+-induced conformational switch rendering a competent DNA polymerase catalytic complex