what is the major difference between type 1 and type2 diabet