The European Demographic Transition: a Neoclassical Dynastic Approach