August Comte, Positivism, social static and dynamic, Law of three stages