Job security and training: the case of Pareto improving firing taxes