China inflation slows as govt vows to keep prices under control