Qaddafi appears on state TV