Estimating flexible consumption functions for urban and rural households in China.