Tunisia’s ex-president hails Algerian ‘revolution’