Likelihood analysis of spatial inhomogeneity for marked point patterns