China's premier warns of pain ahead as reforms progress