Algeria says 37 foreigners die in siege