NHI buys 4 skilled-nursing facilities for $49.8M