Cary medical buildings sold for $27M to Tennessee REIT