AIs that learn from photos become sexist