Nigeria's Senate has passed a new law to protect endangered species and crack down on wildlife trafficking.