Wald's entropy is equal to a quarter of the horizon area in units of the effective gravitational coupling