China says new law will bar demands for technology handover