Trained neural nets perform much like humans on classic psychological tests