Governments from around the world have vowed to take action on the illegal trade in wildlife.