Minimax optimal approaches to the label shift problem