China factory activity improves in June but exports weak