Algeria thwarts suicide attacks