Pearson agrees to sell online unit to Regent