Algorithms to solve block Toeplitz systems andleast-squares problems by transforming to Cauchy-likematricesK