Approximate likelihood inference in generalized linear latent variable models based on the dimension-wise quadrature