Halfpenny boots Wales to victory