Housing affordability is weakening at the fastest pace in a quarter century