Dynamic investigation of protein metal active sites: interplay of XANES and molecular dynamics simulations