Large N phase transitions in low dimensions