Medallion buys Bronx, N.Y., apartment building for $38m