Modified profile likelihoods in models with stratum nuisance parameters