Duality in Generalized Ising Models and Phase Transitions without Local Order Parameters