Researchers identify compounds in coffee that could help prevent type-2 diabetes.