Effective theories of phase transitions