Dynamic In-Context Learning from Nearest Neighbors for Bundle Generation