Generalized method of moments and empirical likelihood