Semiparametric qualitative response model estimation with unknown heteroscedasticity or instrumental variables