House prices in Wales rise after five quarters of consecutive decline