Working to get fired? Unemployment benefits and employment duration