Thickness variations of resistance and activation energy in very thin discontinuous metal films