Three Algerian soldiers killed in ambushes