FDA approves drug for rare thyroid cancer