The way we cook our meals can prevent diabetes