US cake maker Tasty Baking has posted lower quarterly profit on lower sales and margins.