$40M brick-and-limestone townhouse in Tribeca has six floors topped by a rooftop pool