SNP and SML estimation of univariate and bivariate binary–choice models