Macfarlanes and Simmons lead on sale of Covid-hit publisher