Bivariate distributions via the second-kind beta conditional distribution and a regression function