Structure-energy analysis of the role of metal ions in phosphodiester bond hydrolysis by DNA polymerase I