Inner-electron binding energy and chemical bonding in sulphur