can thyroid problems be passed down