Losing weight is a top New Year’s resolution. But this year, doctors might prescribe more than just diet and exercise.