Diagnosing the Chinese economy and lessons from Japan