China's credibility a casualty of market meltdown