Kinas industriproduktion ökade 5,1 procent i juli jämfört med motsvarande period föregående år.