buying a flat or rent which is better