The Scottish towns with the highest shares of homes increasing or decreasing in value have been revealed.