Identifying genes for type 2 diabetes and related traits