Population Pyramids and Demographic Transition