The evolution of norms within a society of captives