SmartFinancial to buy equipment finance company