Hopf algebra structure of the AdS/CFT S-matrix