Condos and townhouses have both soared in value, but the last decade shows clear winners depending on where you buy.