Phases of global AdS black holes