China's factory output, retail sales slow, miss expectations