A comedian's pun about organ donation has been judged to be the funniest at this year's Edinburgh Fringe Festival.