Apple infringed on Qualcomm patents, rules a Chinese court