Hamilton’s housing market to cool next year, study