Genetic and environmental factors affect the onset of type 1 diabetes mellitus