Bill Clinton has appeared in an election campaign video in which he hails Barack Obama for ordering the operation that killed Osama bin Laden.