Evaluation of the Impact of Social Benefits on the Relationship between Labour Trajectory and Mortality in a Group of Affiliates to Social Security in Spain (2004-2016)