How is an overactive thyroid diagnosed?