The capacity of an electrode in the presence of an adsorbed substance obeying simple laws