Intellectual Property Rights, Environmental Regulations, and Foreign Direct Investment