How do carbohydrates differ from hydrocarbons?