Proton and helium stopping cross sections in gaseous hydrocarbon compounds