Autoimmunity and ovarian failure