Polymerization transition in liquid AsS under pressure: An ab initio molecular dynamics study