UMass Boston, city will swap historic building for scholarships