Essays on the Economics of Conflict and Migration