Interaction of 3He2+ and Ar6+ ions with acetylene, ethylene, and ethane molecules