A pairwise likelihood approach to generalized linear models with crossed random effects