1. According to a treaty signed in which year was China required to legalize opium within its borders