Genetic and epigenetic mechanisms in thyroid autoimmunity