Books-A-Million to buy leases of 14 Borders stores