Resveratrol has anti-thyroid effects both in vitro and in vivo