Early events following radiolytic and photogeneration of radical cations in hydrocarbons