Flats market suffers as new taxes come in and buy-to-let landlords exit the sector