IS takes credit for Barcelona attack killing 13