RNAspa: a shortest path approach for comparative prediction of the secondary structure of ncRNA molecules