Flexible estimation of a semiparametric two-component mixture model with one parametric component