how were cats domesticated