Pearson to cut 4,000 jobs after second profit warning in three months