A coarse graining approach to determine nucleic acid structures from small angle neutron scattering profiles in solution