House prices edged down in June, according to the latest figures from Nationwide Building Society.