Theoretical-computational modelling of the electronic and structural properties of nucleic acids in solution