The isosteric heat of adsorption on homogeneous and patchwise heterogeneous surfaces