Composite-likelihood based Analysis of Random Fields