China's economy shows sparks of life, despite persisting weakness in troubled real estate sector