Structural basis for antioxidant activity of trans-resveratrol: ab initio calculations and crystal and molecular structure.