Libya parliament speaker says to hand over power after elections