hcp-to-bcc pressure-induced transition in Mg simulated by ab initio molecular dynamics.