Lessons on Black Holes from the Elliptic Genus