Conformational analysis of galactomannans: from oligomeric segments to polymeric chains