Decompositions of complete multipartite graphs via generalized graceful labelings