Spatial dependence of 2MASS luminosity and mass functions in the old open cluster NGC 188