An AI can tell whether ancient faeces came from a person or a dog