Scientists develop 12-hour method to predict diabetes onset