Maximum marginal likelihood estimation for semiparametric item analysis