Static and dynamic structures of liquid tin at high pressure from ab initio molecular dynamics