dual decomposition for aligning and folding RNA sequences simultaneously