Jo Cox's husband has written a memoir during sleepless nights following her death