Consumer spending rose sharply in September, but it largely reflected households spending more on gas and transportation after an increase in energy costs.