Bidirectional variable-order de Bruijn graphs