how diet affects diabetes