Measuring B-cell function in vivo to understand the pathophysiology of type 2 diabetes