DFT study of the physicochemical properties of A- and B-type procyanidin oligomers