Rising rents make housing less affordable