Former Algerian president Bouteflika given state funeral