Characterization of organic matter in oil related rocks: experimental approach and illustration