Quantum chemistry calculation of resveratrol and related stilbenes