China passes law to jail people who eat endangered animals