Torus embeddings and dualizing complexes