D5-brane on topological black holes