Demography and bubbles: China’s slowdown follows pattern traced earlier by US, Japan