A pragmatist theory of artistic creativity