China's consumer prices showed a slight increase in June, falling short of analysts' expectations, reflecting subdued demand amid a sluggish economic recovery.