An analysis of the determinants and scarring effects of economic inactivity and unemployment in the UK -PhD thesis-