Detection of trade in products derived from threatened species using machine learning and a smartphone