Rights from Wrongs: A Secular Theory of the Origins of Rights