Ventas buys 34% stake in assisted-living management firm