Permutation Orbifolds in Conformal Field Theories and String Theory