Black-holes, topological strings and large N phase transitions