Sulfur speciation in kerogen and bitumen from gas and oil shales