US, Europe working on voluntary AI code of conduct as calls grow for regulation